-
Notifications
You must be signed in to change notification settings - Fork 349
[lldb] Update TestSwiftPOValTypes.py #11570
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: stable/21.x
Are you sure you want to change the base?
Conversation
In conjunction with swiftlang/swift#84677 rdar://161919005
@swift-ci test macOS |
self.expect("po cs", substrs=['CustomStringConvertible'], matching=False) | ||
self.expect("po cs", substrs=['a', '12', 'b', '24']) | ||
self.expect("script lldb.frame.FindVariable('cs').GetObjectDescription()", substrs=['a', '12', 'b', '24']) | ||
self.expect("po cs", substrs=["abc", "12", "def", "24"], matching=False) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does matching=False
do?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It tests that the substrings are not found in the output.
With the updated behavior in swiftlang/swift#84677, the properties (abc
, def
) should not be shown because the type conforms to CustomStringConvertible
/CustomDebugStringConvertible
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got it
@swift-ci test macOS |
In conjunction with swiftlang/swift#84677
rdar://161919005